package com.ruchir.prac.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "T_MST_LICENSE")
public class LicenseBean {

	@Id
	@Column(name="ID")
	private int licenseId;
	
	@Column(name="NAME")
	private String licenseName;

	protected LicenseBean() {
		super();

	}

		
	public LicenseBean(int licenseId, String name) {
		super();
		this.licenseId = licenseId;
		this.licenseName = name;
	}


	public int getLicenseId() {
		return licenseId;
	}


	public void setLicenseId(int licenseId) {
		this.licenseId = licenseId;
	}


	public String getName() {
		return licenseName;
	}

	public void setName(String name) {
		this.licenseName = name;
	}

}
